package myJs.myPkg

import jsext._

import scala.scalajs.js
import scala.language.implicitConversions
import scala.scalajs.js.JSConverters._
import jquery.JQuery


/**
 * Created by yz on 2019/3/14
 */
@js.native
trait BootstrapToggleJQuery extends js.Object {

  def bootstrapToggle(method: String, enabled: Boolean): JQuery = scalajs.js.native

  def bootstrapToggle(method: String): JQuery = scalajs.js.native

  def bootstrapToggle(): JQuery = scalajs.js.native

}

object BootstrapToggleOptions extends BootstrapToggleOptionsBuilder(noOpts)

class BootstrapToggleOptionsBuilder(val dict: OptMap) extends JSOptionBuilder[BootstrapToggleOptions, BootstrapToggleOptionsBuilder](new BootstrapToggleOptionsBuilder(_)) {


}

trait BootstrapToggleOptions extends js.Object {

}

trait BootstrapToggleJQueryImplicits {
  implicit def implicitBootstrapToggleJQuery(jq: JQuery): BootstrapToggleJQuery = {
    jq.asInstanceOf[BootstrapToggleJQuery]
  }
}
